import request from "@/utils/request";

// 查询调度日志列表
export function listJobLog(query: any) {
    return request({
        url: "/schedule/job/log/list",
        method: "get",
        params: query,
    });
}

// 查询调度日志列表(分页)
export function pageJobLog(query: any) {
    return request({
        url: "/schedule/job/log/page",
        method: "post",
        data: query,
    });
}

// 删除调度日志
export function delJobLog(jobLogId: any) {
    return request({
        url: "/schedule/job/log/" + jobLogId,
        method: "delete",
    });
}

// 清空调度日志
export function cleanJobLog() {
    return request({
        url: "/schedule/job/log/clean",
        method: "delete",
    });
}
